/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/* 
 * File:   Serialize.cpp
 * Author: ever
 * 
 * Created on 2018年5月5日, 上午5:36
 */

#include "Serialize.h"
namespace PR {
namespace Wiz {
#define BUFFER_INIT_SIZE 64

Serialize::Serialize() : _data(NULL),_cur(NULL),_size(0) {
}

Serialize::Serialize(const Serialize& orig) {
}

Serialize::~Serialize() {

}

void Serialize::assign(u8* data, size_t len){
    _data = data;
//    if(len < 0) return;
    _size = len;
}
bool Serialize::ser(u32 v) {
    return true;
}

bool Serialize::der(u32& v) {
    return true;
}

Int::Int(int v) {

}
}
}
